diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(system)/email-whitelist/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(system)/email-whitelist/page.tsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/[lng]/evcp/(evcp)/(system)/email-whitelist/page.tsx b/app/[lng]/evcp/(evcp)/(system)/email-whitelist/page.tsx index 95abd556..2613ce65 100644 --- a/app/[lng]/evcp/(evcp)/(system)/email-whitelist/page.tsx +++ b/app/[lng]/evcp/(evcp)/(system)/email-whitelist/page.tsx @@ -17,6 +17,7 @@ import { WhitelistTable } from "@/lib/email-whitelist/table/whitelist-table" import { Shell } from "@/components/shell" import { Skeleton } from "@/components/ui/skeleton" import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" +import { useTranslation } from "@/i18n" // export const metadata: Metadata = { // title: "이메일 화이트리스트 관리", @@ -24,11 +25,13 @@ import { DataTableSkeleton } from "@/components/data-table/data-table-skeleton" // } interface WhitelistPageProps { + params: Promise<{ lng: string }> searchParams: SearchParams } export default async function WhitelistPage(props: WhitelistPageProps) { - + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') const searchParams = await props.searchParams // 기본 검색 파라미터 처리 @@ -52,7 +55,7 @@ export default async function WhitelistPage(props: WhitelistPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 이메일 화이트리스트 관리 + {t('menu.information_system.email_whitelist')} </h2> </div> <p className="text-muted-foreground"> @@ -79,4 +82,4 @@ export default async function WhitelistPage(props: WhitelistPageProps) { </React.Suspense> </Shell> ) -}
\ No newline at end of file +} |
